package com.hitqz.robot;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.retry.annotation.EnableRetry;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.hitqz.robot.biz.mapper")
@EnableScheduling
@EnableAsync
@EnableRetry
@Slf4j
public class RobotClientApplication {

	public static void main(String[] args) {
		try {
			SpringApplication.run(RobotClientApplication.class, args);
		}catch (Exception e) {
			log.info("start error: " + e);
		}

	}

}
